home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / adlibn / dbtestvi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-23  |  1.8 KB  |  68 lines

  1. // DBTestView.h : interface of the CDBTestView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_DBTESTVIEW_H__866FE9B8_9A8E_11D2_A04F_204C4F4F5020__INCLUDED_)
  6. #define AFX_DBTESTVIEW_H__866FE9B8_9A8E_11D2_A04F_204C4F4F5020__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12.  
  13. class CDBTestView : public CView
  14. {
  15. protected: // create from serialization only
  16.     CDBTestView();
  17.     DECLARE_DYNCREATE(CDBTestView)
  18.  
  19. // Attributes
  20. public:
  21.     CDBTestDoc* GetDocument();
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CDBTestView)
  29.     public:
  30.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  31.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32.     protected:
  33.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  34.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  35.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. public:
  40.     virtual ~CDBTestView();
  41. #ifdef _DEBUG
  42.     virtual void AssertValid() const;
  43.     virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45.  
  46. protected:
  47.  
  48. // Generated message map functions
  49. protected:
  50.     //{{AFX_MSG(CDBTestView)
  51.         // NOTE - the ClassWizard will add and remove member functions here.
  52.         //    DO NOT EDIT what you see in these blocks of generated code !
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.  
  57. #ifndef _DEBUG  // debug version in DBTestView.cpp
  58. inline CDBTestDoc* CDBTestView::GetDocument()
  59.    { return (CDBTestDoc*)m_pDocument; }
  60. #endif
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63.  
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  66.  
  67. #endif // !defined(AFX_DBTESTVIEW_H__866FE9B8_9A8E_11D2_A04F_204C4F4F5020__INCLUDED_)
  68.